package com.xinyu.vo;

import lombok.Data;

@Data
public class WordsRequest {
    private String keyword;
    private Integer page = 1;//页码
    private Integer rows = 5;//每页条数
    private String sortWay = "ASC";//排序方式
    private String sortColumn;//排序字段
    private Integer offset;
    public Integer getOffset() {
        return (page - 1) * rows;
    }
}
